<template>
  <el-container>
    <el-header
      ><router-link to="/"> login</router-link>
      <!-- <router-link to="/upload"> upload </router-link> -->
      <!--需要渲染的地方用 <router-view>代替-->
    </el-header>
    <el-main>
      <router-view></router-view>
    </el-main>
  </el-container>
</template>

<script setup lang="ts"></script>

<style lang="scss" scoped>
.router-link{
  margin: 10px;
}
</style>
